package com.ebt.m.commons.widgets;

import com.ebt.m.commons.buscomponent.listview.BaseIView;
import com.trello.rxlifecycle2.LifecycleTransformer;
import com.trello.rxlifecycle2.android.FragmentEvent;

/**
 * Created by wanglu on 2017/12/26.
 */

public class BaseRxFragment extends com.trello.rxlifecycle2.components.support.RxFragment implements BaseIView {
    @Override
    public <T> LifecycleTransformer<T> getLifeTransformer() {
        return bindUntilEvent(FragmentEvent.DETACH);
    }
}
